
<h1><span class="yiyi-st" id="yiyi-12">numpy.get_printoptions</span></h1>
        <blockquote>
        <p>原文：<a href="https://docs.scipy.org/doc/numpy/reference/generated/numpy.get_printoptions.html">https://docs.scipy.org/doc/numpy/reference/generated/numpy.get_printoptions.html</a></p>
        <p>译者：<a href="https://github.com/wizardforcel">飞龙</a> <a href="http://usyiyi.cn/">UsyiyiCN</a></p>
        <p>校对：（虚位以待）</p>
        </blockquote>
    
<dl class="function">
<dt id="numpy.get_printoptions"><span class="yiyi-st" id="yiyi-13"> <code class="descclassname">numpy.</code><code class="descname">get_printoptions</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference external" href="http://github.com/numpy/numpy/blob/v1.11.3/numpy/core/arrayprint.py#L173-L206"><span class="viewcode-link">[source]</span></a></span></dt>
<dd><p><span class="yiyi-st" id="yiyi-14">返回当前打印选项。</span></p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name">
<col class="field-body">
<tbody valign="top">
<tr class="field-odd field"><th class="field-name"><span class="yiyi-st" id="yiyi-15">返回：</span></th><td class="field-body"><p class="first"><span class="yiyi-st" id="yiyi-16"><strong>print_opts</strong>：dict</span></p>
<blockquote class="last">
<div><p><span class="yiyi-st" id="yiyi-17">当前打印选项的字典与键</span></p>
<blockquote>
<div><ul class="simple">
<li><span class="yiyi-st" id="yiyi-18">precision：int</span></li>
<li><span class="yiyi-st" id="yiyi-19">threshold：int</span></li>
<li><span class="yiyi-st" id="yiyi-20">edgeitems：int</span></li>
<li><span class="yiyi-st" id="yiyi-21">linewidth：int</span></li>
<li><span class="yiyi-st" id="yiyi-22">suppress：bool</span></li>
<li><span class="yiyi-st" id="yiyi-23">纳斯特</span></li>
<li><span class="yiyi-st" id="yiyi-24">infstr：str</span></li>
<li><span class="yiyi-st" id="yiyi-25">formatter：dict of callables</span></li>
</ul>
</div></blockquote>
<p><span class="yiyi-st" id="yiyi-26">有关这些选项的完整说明，请参阅<a class="reference internal" href="numpy.set_printoptions.html#numpy.set_printoptions" title="numpy.set_printoptions"><code class="xref py py-obj docutils literal"><span class="pre">set_printoptions</span></code></a>。</span></p>
</div></blockquote>
</td>
</tr>
</tbody>
</table>
<div class="admonition seealso">
<p class="first admonition-title"><span class="yiyi-st" id="yiyi-27">也可以看看</span></p>
<p class="last"><span class="yiyi-st" id="yiyi-28"><a class="reference internal" href="numpy.set_printoptions.html#numpy.set_printoptions" title="numpy.set_printoptions"><code class="xref py py-obj docutils literal"><span class="pre">set_printoptions</span></code></a>，<a class="reference internal" href="numpy.set_string_function.html#numpy.set_string_function" title="numpy.set_string_function"><code class="xref py py-obj docutils literal"><span class="pre">set_string_function</span></code></a></span></p>
</div>
</dd></dl>
